﻿using System;
using System.Collections.Generic;
using System.Data;
using System.Linq;
using System.Web;
using System.Web.UI;
using System.Web.UI.WebControls;

namespace BBPA.Admin.Store.Group_Buy
{
    public partial class Order_List : ListPage
    {
        BBPA.BLL.GroupBuy gb_bll = new BLL.GroupBuy();
        BLL.V_Orders bllList = new BLL.V_Orders();
        BLL.Orders bll = new BLL.Orders();
        protected void Page_Load(object sender, EventArgs e)
        {
            Master.show_btn_add = Master.show_btn_bat_del = Master.show_checkbox = Master.show_edit =Master.show_info= false;
            Master.show_listControls = true;
            string gbid = Request["id"] == null || Request["id"].ToString() == "" ? "0" : Request["id"].ToString();
            Master.BasicSQL = "StoreID=" + Security.GetCurrentStoreID() + " and gbid=" + gbid;
        }
        public override void buildSQL_Page_List_search()
        {
        }
        public override DataSet get_Page_DataSet(string sql_, string orderby_, int pageFrom_, int pageTo_) { return gb_bll.GetListByPage_order(sql_, orderby_, pageFrom_, pageTo_); }
    }
}